package richinfo.delivery.bean;

import java.io.Serializable;

import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class BaseInfo implements Serializable {

	public String toString(){
		return ToStringBuilder.reflectionToString(this, ToStringStyle.DEFAULT_STYLE);
	}
	
	public boolean equals(Object o){
		return EqualsBuilder.reflectionEquals(this,o,false);
	}
	
	public int hashCode(Object o){
		return HashCodeBuilder.reflectionHashCode(this, false);
	}
	
}
